import React from 'react';
import logo from "../../../libs/img/logo/logo";
import {List} from "antd-mobile";
import './UserMsg.less';
const Item = List.Item;

function UserMsg({msg,title='',push=''}) {
  return (
      <List className='c-out-user-msg g-p5-10 g-bg-f g-bdrs12 g-mb10'>
         
        {title}
        <Item extra={msg.customerName} className='c-out-user-msg-card-name'>顾客姓名</Item>
        <Item wrap extra={`${msg.age ? msg.age :''}/${msg.sex==='1'?'女':'男'}`}>年龄/性别</Item>
        {/*{msg.customerIdCardNo && <Item extra={msg.customerIdCardNo}>身份证</Item>}*/}
        <Item extra={msg.customerCrmId}>数字编码</Item>
        <Item extra={msg.mzcode}>卡号</Item>
        <Item extra={msg.dwname ? '[网电]'+msg.dwname : ''} wrap>所属客管</Item>
        <Item extra={msg.xcname ? '[现场]'+msg.xcname : ''} wrap>&emsp;</Item>
        {push}
      </List>
  )
}


export default UserMsg;